package simplyrugby.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 球员技能
 * @TableName player_skill
 */
@TableName(value ="player_skill")
@Data
public class PlayerSkill implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id")
    private String id;

    /**
     * 球员ID
     */
    @TableField(value = "player_id")
    private String playerId;

    /**
     * 技能ID
     */
    @TableField(value = "skill_id")
    private String skillId;

    /**
     * 技能值
     */
    @TableField(value = "skill_value")
    private Integer skillValue;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}